<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Clock
 *
 * @author BUI VAN UY
 */
class Clock
{

    public function __construct($checkIn = 0, $checkOut = 0, $id = 0)
    {
        $this->id        = $id;
        $this->checkIn   = $checkIn;
        $this->checkOut  = $checkOut;
        $this->totalTime = $checkOut - $checkIn;
    }

    public $id        = 0;
    public $checkIn   = 0;
    public $checkOut  = 0;
    public $totalTime = 0;

}

?>
